﻿namespace ProblemsSet
{
    public class Problem_10 : BaseProblem
    {
        public override object GetResult()
        {
            return MathLogic.GetSumOfInt(MathLogic.GetPrimeList(2000000, true));
        }

        public override string Problem
        {
            get
            {
                return @"The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17.

Find the sum of all the primes below two million.";
            }
        }

        public override bool IsSolved
        {
            get
            {
                return true;
            }
        }

        public override object Answer
        {
            get
            {
                return 142913828922;
            }
        }
    }
}
